package com.itheima.user.feign;

import com.itheima.user.pojo.ConsumerInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "INSTANCES-CONSUMER")
public interface ConsumerFeignClient {

    @GetMapping("/getConsumerInfo")
    public ConsumerInfo getConsumerInfo();
}
